package decorator;

import java.math.BigDecimal;

/**
 * 1. 抽象父类
 */
public abstract class Cake {
    public abstract String getCakeMsg();

    public abstract BigDecimal getPrice();

    @Override
    public String toString() {
        return "蛋糕类型："+getCakeMsg()+"，蛋糕价格："+getPrice().toString();
    }
}
